package star.cloud.asme.base.file.fileInfo;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.*;
import star.cloud.asme.base.mybatis.IBaseEntity;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Entity(name = "senpec_base_file_info")
@TableName("senpec_base_file_info")
public class FileInfo extends IBaseEntity<FileInfo> {

    private String keyWord;

    //存储桶的名称
    private String bucket;

    //所在区域的名称
    private String region;

    private String name;

    private Long uid;

    private String type;

    private Long size;

    //文件在桶中的位置
    private String fileKey;

    //文件的url
    @Column(length = 1000)
    private String url;

    private String extension;
}